home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
public
/
tuner
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-08-01
|
1KB
|
46 lines
#
# See file customize.h for additional customizations.
#
# Customizations for SGI, Irix 4.0:
MOTIF_INC=
MOTIF_LIB=
RESDIR=.
BINDIR=/ufs/jack/bin/sgi
#
TUNERFLAGS=-I/share/usr/include -DVOLUME
ALIB=-laudio
#
# Customizations for Suns with old Motif in a funny place:
#MOTIF_INC=-DMOTIF1_0 -I/usr/local/X/usr/include/X11/motif
#MOTIF_LIB=-L/usr/local/X/motif/lib
#RESDIR=/ufs/jack/etc
#BINDIR=/ufs/jack/bin/sgi
OBJS=tuner_main.o tuner_ui.o tuner_io.o tuner_sl.o tuner_volume.o
SRCS=tuner_main.c tuner_io.c tuner_ui.c tuner_sl.c tuner_volume.c
XSRCS=README Makefile Tuner.resources tuner.man tuner.h customize.h
CFLAGS=-O -cckr -DRESOURCE_PATH=\"$(RESDIR)/Tuner.resources\" $(MOTIF_INC) \
$(TUNERFLAGS)
tuner: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(MOTIF_LIB) $(ALIB) -lXm -lXt -lX11 -lm -o tuner
$(OBJS): tuner.h customize.h Makefile
install: tuner Tuner.resources
cp tuner $(BINDIR)
cp Tuner.resources $(RESDIR)
clean:
rm -f $(OBJS)
shar: tuner1.4.shar
tuner1.4.shar: $(XSRCS) $(SRCS)
shar $(XSRCS) $(SRCS) > tuner1.4.shar